package com.wang.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 原样返回
 */
@RestController
public class HelloWorldController {
    private Logger log = LogManager.getLogger();

    /**
     * 字符串原样返回
     * @return
     */
    @RequestMapping("/test_01")
    public String test_01(){
        log.info("==我执行了5553==");
        return "测试一下5553" ;
    }
}
